﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.DirectX;

namespace SimulationPresenter.Simulation.Helpers
{
    internal static class JointCalculations
    {
        internal static Vector3 CalculateMidPoint(this Vector3 vector1, Vector3 vector2)
        {
            return Vector3.Scale(Vector3.Add(vector1, vector2), 0.5f);
        }
    }
}